AllowPluginCallback

This callback is invoked when the engine wants to check whether a specific plugin is allowed or not.

Use the allow method to allow the plugin.

Use the deny method to deny the plugin.

Important: the engine will be blocked until the callback response is sent. It is not allowed to invoke any engine/browser methods in this callback.

Types

Link copied to clipboard
interface Params
The parameters of the AllowPluginCallback.
Link copied to clipboard
interface Response
A response for AllowPluginCallback.

Functions

Link copied to clipboard
abstract fun on(params: P): R
Invoked when the callback needs a response of type R that may be determined based on the provided callback parameters.